import 'package:flutter/cupertino.dart';
import 'package:mobile_app.core/core/presentation/utils/icons/custom_light_icons.dart';
import 'package:mobile_app.core/core/presentation/widgets/app_button.dart';
import 'package:mobile_app.home.core/core/presentation/theme/home_core_theme.dart';

class PronunciationCautionButton extends StatelessWidget {
  const PronunciationCautionButton({
    required this.size,
    required this.padding,
    required this.onPressed,
    super.key,
  });

  final double size;
  final EdgeInsets padding;
  final VoidCallback onPressed;

  @override
  Widget build(BuildContext context) {
    return AppButton(
      padding: padding,
      onPressed: onPressed,
      child: Icon(
        CustomLightIcons.exclamation_mark,
        size: size,
        color: HomeCoreTheme.of(context).textTheme.cardLexicalItemTranscription.color,
      ),
    );
  }
}
